package cn.iocoder.yudao.module.wine.controller.admin.premiumrecord.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 保费记录 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PremiumRecordRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "11590")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "22356")
    @ExcelProperty("用户id")
    private Long userId;

    @Schema(description = "用户昵称", requiredMode = Schema.RequiredMode.REQUIRED, example = "22356")
    @ExcelProperty("用户昵称")
    private String nickname;


    @Schema(description = "真实姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "22356")
    @ExcelProperty("真实姓名")
    private String name;

    @Schema(description = "保费", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("保费")
    private BigDecimal premium;

    @Schema(description = "状态 0 未支付 1 已支付  2已退", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("状态 0 未支付 1 已支付  2已退")
    private Integer status;

    @Schema(description = "订单id", requiredMode = Schema.RequiredMode.REQUIRED, example = "3673")
    @ExcelProperty("订单id")
    private Long orderId;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "交易号", requiredMode = Schema.RequiredMode.REQUIRED, example = "交易号")
    private String tradeNo;

    @Schema(description = "交易时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "交易号")
    private LocalDateTime tradeTime;

}
